From: Xiaofeng Wang Date: Thu, 2 Apr 2026 03:36:20 +0000 (+0800) Subject: ci: Make fuse and libfuse-dev conditional for Debian Testing X-Git-Tag: archive/raspbian/2026.2-1+rpi1~1^2~10^2^2~3^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=94fa20c392a46b71f9767ed7319f85a922bd3b86;p=ostree.git ci: Make fuse and libfuse-dev conditional for Debian Testing The libfuse-dev and fuse (FUSE 2) packages have been removed from Debian Testing (forky/sid). Move them out of the unconditional package list and only install them on older Debian/Ubuntu versions that still provide FUSE 2. FUSE 3 support is already handled via the libfuse3-dev argument logic. Co-Authored-By: Claude Opus 4.6 Signed-off-by: Xiaofeng Wang --- diff --git a/ci/gh-install.sh b/ci/gh-install.sh index 76afbb67..da9f8c36 100755 --- a/ci/gh-install.sh +++ b/ci/gh-install.sh @@ -80,7 +80,6 @@ case "$ID" in e2fslibs-dev elfutils fsverity - fuse gnupg gobject-introspection gtk-doc-tools @@ -89,7 +88,6 @@ case "$ID" in libavahi-client-dev libavahi-glib-dev libcap-dev - libfuse-dev libgirepository1.0-dev libglib2.0-dev libglib2.0-doc @@ -144,6 +142,14 @@ case "$ID" in ;; esac + # libfuse-dev (FUSE 2) has been removed from Debian Testing. + # Only install it on older versions that still provide it. + case "${VERSION_CODENAME:-}" in + (buster|bullseye|bookworm|focal|jammy|bionic) + PACKAGES+=(fuse libfuse-dev) + ;; + esac + apt-get -y update apt-get -y install "${PACKAGES[@]}" "$@" ;;